package com.xlh.dao;

import com.xlh.entity.ParamSchool;
import com.xlh.entity.PlatformUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SchoolInfoActionDao {

    List<Map<String, Object>> querySchoolInfo(Map<String, Object> paramMap) throws Exception;

    List<Map<String, Object>> querySaleUser(@Param("saleId") String saleId);

    Integer querySchoolName(@Param("schoolName") String schoolName);

    List<Map<String, Object>> querySchoolInfoById(@Param("schoolname") String schoolname) throws Exception;

    List<Map<String, Object>> queryPlatformUserById(@Param("schoolname") String schoolname) throws Exception;

    void addPlatformUser( @Param("platformUser") PlatformUser platformUser)throws Exception;

    void addSchoolInfo(@Param("paramSchool") ParamSchool paramSchool)throws Exception;
}
